package common.spring.base;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

public class BaseService {

    @Autowired
    private BaseDao baseDao;

    @Transactional
    public boolean editDeptIdsAll(String tableName, String deptId1, String deptId2, String type){
        return baseDao.editDeptIdsAll(tableName,deptId1,deptId2,type)>0;
    }

}
